package cn.net.msg.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.springframework.stereotype.Component;

@Component("feedback")
@Entity @Table(name = "tb_feedback")
public class TbFeedBack{

    @Id @Column(name= "Feedback_id",length=11)
    private int feedbackId;
    @Column(name= "User_id",length=20)
    private long userId;
    @Column(name = "Feedback_title",length=100)
    private String feedbackTitle;
    @Column(name = "Feedback_content",length=100)
    private String feedbackContent;
    @Column(name = "Feedback_loc",length=200)
    private String feedbackLoc;    
    @Column(name = "Udf1",length=100)
    private String Udf1;
    @Column(name = "Udf2",length=100)
    private String Udf2;
    @Column(name = "Udf3",length=100)
    private String Udf3;
    @Column(name = "TaskType",length=10)
    private int taskType;

    public TbFeedBack(){

    }

    public TbFeedBack(String feedbackTitle){
        this.feedbackTitle = feedbackTitle;
    }    


    public int getFeedbackId() {
        return feedbackId;
    }

    public void setFeedbackId(int feedbackId) {
        this.feedbackId = feedbackId;
    }


    public long getUserId() {
        return userId;
    }
    public void setUserId(long userId) {
        this.userId = userId;
    }


    public String getFeedbackTitle() {
        return feedbackTitle;
    }
    public void setFeedbackTitle(String feedbackTitle) {
        this.feedbackTitle = feedbackTitle;
    }


    public String getFeedbackContent() {
        return feedbackContent;
    }
    public void setFeedbackContent(String feedbackContent) {
        this.feedbackContent = feedbackContent;
    }


    public String getFeedbackLoc() {
        return feedbackLoc;
    }
    public void setFeedbackLoc(String feedbackLoc) {
        this.feedbackLoc = feedbackLoc;
    }


    public String getUdf1() {
        return Udf1;
    }
    public void setUdf1(String udf1) {
        Udf1 = udf1;
    }


    public String getUdf2() {
        return Udf2;
    }
    public void setUdf2(String udf2) {
        Udf2 = udf2;
    }


    public String getUdf3() {
        return Udf3;
    }
    public void setUdf3(String udf3) {
        Udf3 = udf3;
    }


    public int getTaskType() {
        return taskType;
    }

    public void setTaskType(int taskType) {
        this.taskType = taskType;
    }

}
